<div class="widget">
    <div class="widgetTitle">
        <h3><?= $title; ?> - <?= $step; ?></h3>
    </div>

    <div class="widgetContent bottom-border">
        <div class="row nomargin">
            <div class="col-md-12 col-sm-12 col-xs-12">
                <p class="block text-muted clearfix">
                    Please provide correct information of your Business and Services, we have full right to delete your
                    post anytime without prior intimation.
                </p>

                <?php if(Session::get('message')){?>
                    <p class="block">
                        <span class="text-danger"><?= Session::get('message');?></span>
                    </p>
                <?php }?>

                <div class="block"><i class="fa fa-map-marker"></i> <?= $center;?></div>
                <span class="text text-info">* Drag the pointer and set your location</span>
                <script type="text/javascript">
                    var centreGot = false;
                </script>
                <div id="map">
                    <?php echo $map['js']; ?>
                    <?php echo $map['html']; ?>
                </div>

                <form method="post" action="<?= URL::current();?>">
                    <input type="text" name="lat" id="lat"value="" readonly>
                    <input type="text" name="long" id="long"value="" readonly>

                    <div class="form-group widget-footer">
                        <div class="col-sm-12">
                            <button type="submit" class="btn btn-danger">Submit</button>
                        </div>

                    </div>
                </form>

            </div>
        </div>
    </div>
</div>